﻿using Basic.FlowModel.AuditLog;
using Basic.FlowModel.DB;
using Basic.FlowRemoteModel.FlowAudit.Model;
using WeDonekRpc.Model;

namespace Basic.FlowDAL
{
    public interface IFlowAuditLogDAL : IBasicDAL<DBFlowAuditLog, long>
    {
        long Add ( AuditLogAdd add, out long itemId );
        void Close ( DBFlowAuditLog log, long empId );
        Result[] Query<Result>(AuditLogQuery query, IBasicPage paging, out int count) where Result : class;
        AuditResult SaveAuditResult ( SaveAuditBody body );
        long Sync ( AuditLogAdd add, long id, out long itemId );
    }
}